package com.ev.asl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 姚家乐
 * @since 2021/6/4 10:32
 */
@Data
public class CheckResult3VO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long              id;

    /**
     * 日志编号
     */
    @ApiModelProperty(value = "检查编号")
    private String            checkNo;

    /**
     * 批号
     */
    @ApiModelProperty(value = "批号")
    private String       batchNo;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String    remarks;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人", hidden = true)
    private Long      updateBy;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date   updateTime;

    private List<CheckResultDetail2VO> detailVOS;

}
